Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 2 - Control Manager Reference / Control Manager Types and Constants


Bevel Button Text Alignment Constants

NEW WITH THE APPEARANCE MANAGER

These constants can be passed in the inData parameter of SetControlData and returned by GetControlData to specify the alignment of text in a bevel button.

enum {
   kControlBevelButtonAlignTextSysDirection = teFlushDefault,
   kControlBevelButtonAlignTextCenter       = teCenter,
   kControlBevelButtonAlignTextFlushRight   = teFlushRight,
   kControlBevelButtonAlignTextFlushLeft    = teFlushLeft
};
typedef SInt16 ControlButtonTextAlignment;
Constant descriptions

kControlBevelButtonAlignTextSysDirection
Bevel button text is aligned according to the current script direction (left or right).
kControlBevelButtonAlignTextCenter
Bevel button text is aligned center.
kControlBevelButtonAlignTextFlushRight
Bevel button text is aligned flush right.
kControlBevelButtonAlignTextFlushLeft
Bevel button text is aligned flush left.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998